package com.zx._01_基础._017_国际化;

import java.util.ListResourceBundle;

public class mess_zh_CN extends ListResourceBundle {

    //该数组的每一项都是一个key-value对
    private final Object[][] prop = {
            {"hello", "你好~~"},
            {"msg", "\u4F60\u597D\uFF0C{0}\uFF01\u4ECA\u5929\u662F{1}\u3002"}
    };

    //必须重写getContents，返回以上数组
    @Override
    protected Object[][] getContents() {
        return prop;
    }
}
